type database/sql.driverConn

41 uses

	database/sql (current package)
		sql.go#L518: 	freeConn     []*driverConn // free connections ordered by returnedAt oldest to newest
		sql.go#L529: 	lastPut           map[*driverConn]string // stacktrace of last conn's put; debug only
		sql.go#L559: type driverConn struct {
		sql.go#L577: func (dc *driverConn) releaseConn(err error) {
		sql.go#L581: func (dc *driverConn) removeOpenStmt(ds *driverStmt) {
		sql.go#L587: func (dc *driverConn) expired(timeout time.Duration) bool {
		sql.go#L596: func (dc *driverConn) resetSession(ctx context.Context) error {
		sql.go#L611: func (dc *driverConn) validateConnection(needsReset bool) bool {
		sql.go#L626: func (dc *driverConn) prepareLocked(ctx context.Context, cg stmtConnGrabber, query string) (*driverStmt, error) {
		sql.go#L650: func (dc *driverConn) closeDBLocked() func() error {
		sql.go#L660: func (dc *driverConn) Close() error {
		sql.go#L677: func (dc *driverConn) finalClose() error {
		sql.go#L837: 		lastPut:   make(map[*driverConn]string),
		sql.go#L882: func (db *DB) pingDC(ctx context.Context, dc *driverConn, release func(error)) error {
		sql.go#L896: 	var dc *driverConn
		sql.go#L1007: 	var closing []*driverConn
		sql.go#L1141: func (db *DB) connectionCleanerRunLocked(d time.Duration) (time.Duration, []*driverConn) {
		sql.go#L1143: 	var closing []*driverConn
		sql.go#L1291: 	dc := &driverConn{
		sql.go#L1309: 	conn *driverConn
		sql.go#L1316: func (db *DB) conn(ctx context.Context, strategy connReuseStrategy) (*driverConn, error) {
		sql.go#L1440: 	dc := &driverConn{
		sql.go#L1453: var putConnHook func(*DB, *driverConn)
		sql.go#L1458: func (db *DB) noteUnusedDriverStatement(c *driverConn, ds *driverStmt) {
		sql.go#L1481: func (db *DB) putConn(dc *driverConn, err error, resetSession bool) {
		sql.go#L1542: func (db *DB) putConnDBLocked(dc *driverConn, err error) bool {
		sql.go#L1635: func (db *DB) prepareDC(ctx context.Context, dc *driverConn, release func(error), cg stmtConnGrabber, query string) (*Stmt, error) {
		sql.go#L1696: func (db *DB) execDC(ctx context.Context, dc *driverConn, release func(error), query string, args []any) (res Result, err error) {
		sql.go#L1771: func (db *DB) queryDC(ctx, txctx context.Context, dc *driverConn, releaseConn func(error), query string, args []any) (*Rows, error) {
		sql.go#L1899: func (db *DB) beginDC(ctx context.Context, dc *driverConn, release func(error), opts *TxOptions) (tx *Tx, err error) {
		sql.go#L1946: 	var dc *driverConn
		sql.go#L1986: 	dc *driverConn
		sql.go#L2000: func (c *Conn) grabConn(context.Context) (*driverConn, releaseConn, error) {
		sql.go#L2073: 	var dc *driverConn
		sql.go#L2176: 	dc  *driverConn
		sql.go#L2245: func (tx *Tx) grabConn(ctx context.Context) (*driverConn, releaseConn, error) {
		sql.go#L2572: 	dc *driverConn
		sql.go#L2581: 	grabConn(context.Context) (*driverConn, releaseConn, error)
		sql.go#L2718: func (s *Stmt) connStmt(ctx context.Context, strategy connReuseStrategy) (dc *driverConn, releaseConn func(error), ds *driverStmt, err error) {
		sql.go#L2771: func (s *Stmt) prepareOnConnLocked(ctx context.Context, dc *driverConn) (*driverStmt, error) {
		sql.go#L2930: 	dc          *driverConn // owned; must call releaseConn when closed to release